//
//  YZCLiVedioCollectionViewCell.m
//  LOLerBox
//
//  Created by 杨智超 on 16/1/25.
//  Copyright © 2016年 蓝鸥科技. All rights reserved.
//

#import "YZCLiVedioCollectionViewCell.h"
#import "YZCAFNetwork.h"
#import "YZCVideoModel.h"
@implementation YZCLiVedioCollectionViewCell

/* 初始化 */
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        /* 图片 */
        self.iconImageView = [[UIImageView alloc]init];
        self.iconImageView.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:self.iconImageView];
        [_iconImageView release];
        
        /* 名字 */
        self.nameLabel = [[UILabel alloc]init];
        self.nameLabel.backgroundColor = [UIColor brownColor];
        [self.contentView addSubview:self.nameLabel];
        [_nameLabel release];
        
       
    }
    return self;
}




/* 布局方法 */
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes {

    self.iconImageView.frame = CGRectMake(0, 0, 80, 80);
    self.nameLabel.frame = CGRectMake(0, 85, 80, 15);
    
}

@end
